/*******************************************************************************
  * @file                   TIMER.h
  * @Author:                MQjehovah                 mail:MQjehovah@hotmail.com
  * @version                1.0.0
  * @date                   2017.5.9
  * @brief                  
  ******************************************************************************
  * @attention
*******************************************************************************/
#ifndef _TIMER_H
#define _TIMER_H
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_conf.h"
/* Definition ----------------------------------------------------------------*/
#define CHANNEL1_PORT   GPIOB
#define CHANNEL1_PIN    GPIO_Pin_8

#define CHANNEL2_PORT   GPIOB
#define CHANNEL2_PIN    GPIO_Pin_8

#define CHANNEL3_PORT   GPIOB
#define CHANNEL3_PIN    GPIO_Pin_8 

#define CHANNEL4_PORT   GPIOB
#define CHANNEL4_PIN    GPIO_Pin_8 

/* Exported Functions --------------------------------------------------------*/
void TIM_Config(TIM_TypeDef * TIMx);
void PWM_Config(TIM_TypeDef * TIMx, u16 CCR1,u16 CCR2,u16 CCR3,u16 CCR4);
/*********************************END OF FILE**********************************/
#endif
